﻿@model WEBBANGDIA.Models.LienHe

@{
    ViewBag.Title = "Create";
}

<h2>Create</h2>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>LienHe</legend>

        <div class="editor-label">
            Mã liên hệ
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.MaLH)
            @Html.ValidationMessageFor(model => model.MaLH)
        </div>

        <div class="editor-label">
            Tài khoản
        </div>
        <div class="editor-field">
            @Html.DropDownList("MaTK", String.Empty)
            @Html.ValidationMessageFor(model => model.MaTK)
        </div>

        <div class="editor-label">
            Tiêu đề
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.TieuDe)
            @Html.ValidationMessageFor(model => model.TieuDe)
        </div>

        <div class="editor-label">
            Nội dung
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.NoiDung)
            @Html.ValidationMessageFor(model => model.NoiDung)
        </div>

        <div class="editor-label">
            Yêu cầu
        </div>
        <div class="editor-field">
            @Html.DropDownList("MaYC", String.Empty)
            @Html.ValidationMessageFor(model => model.MaYC)
        </div>

        <div class="editor-label">
            Ngày tạo
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.NgayTao)
            @Html.ValidationMessageFor(model => model.NgayTao)
        </div>

        <div class="editor-label">
            Ẩn
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.An)
            @Html.ValidationMessageFor(model => model.An)
        </div>

        <div class="editor-label">
            Ngày ẩn
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.NgayAn)
            @Html.ValidationMessageFor(model => model.NgayAn)
        </div>

        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
